package com.ruoyi.distributionrule.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 【分销管理】对象 distribution_rule
 *
 * @author ruoyi
 * @date 2025-07-04
 */
@ApiModel(description = "分销管理实体")
public class DistributionRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分销管理ID", example = "分销管理ID")
    private Long id;

    @ApiModelProperty(value = "订单ID", example = "订单ID")
    @Excel(name = "订单id")
    private String orderId;

    @ApiModelProperty(value = "接单提成", example = "接单提成")
    @Excel(name = "接单提成")
    private String orderCommission;

    @ApiModelProperty(value = "推荐用户提成", example = "推荐用户提成")
    @Excel(name = "推荐用户提成")
    private String userCommission;

    @ApiModelProperty(value = "推荐专家提成", example = "推荐专家提成")
    @Excel(name = "推荐专家提成")
    private String expertCommission;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }

    public void setOrderCommission(String orderCommission)
    {
        this.orderCommission = orderCommission;
    }

    public String getOrderCommission()
    {
        return orderCommission;
    }

    public void setUserCommission(String userCommission)
    {
        this.userCommission = userCommission;
    }

    public String getUserCommission()
    {
        return userCommission;
    }

    public void setExpertCommission(String expertCommission)
    {
        this.expertCommission = expertCommission;
    }

    public String getExpertCommission()
    {
        return expertCommission;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderId", getOrderId())
                .append("orderCommission", getOrderCommission())
                .append("userCommission", getUserCommission())
                .append("expertCommission", getExpertCommission())
                .toString();
    }
}
